package com.zysd.collection.scheduler.entity;

import java.io.Serializable;

/**
 * 集中器在线状态
 * @author hetao
 */
public class ChannelState implements Serializable{

    private Integer region ;
    private Integer local;
    private Integer msa;
    private String channelId;
    private String ip;
    private Integer port;
    private Integer state;
    private String onlineTime;
    private String offlineTime;

    public ChannelState(Integer region, Integer local) {
        this.region = region;
        this.local = local;
    }

    public ChannelState() {
    }

    public Integer getRegion() {
        return region;
    }

    public void setRegion(Integer region) {
        this.region = region;
    }

    public Integer getLocal() {
        return local;
    }

    public void setLocal(Integer local) {
        this.local = local;
    }

    public Integer getMsa() {
        return msa;
    }

    public void setMsa(Integer msa) {
        this.msa = msa;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(String onlineTime) {
        this.onlineTime = onlineTime;
    }

    public String getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(String offlineTime) {
        this.offlineTime = offlineTime;
    }
}
